package com.itqian.system.vo;

import com.itqian.system.entity.AnnCommentReply;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author shishuqian
 * date 2022/4/11
 * time 15:48
 **/
@Data
public class AnnCommentVO {

    /**
     * 主键id
     */
    private Integer id;

    /**
     * 评论时间
     */
    private LocalDateTime date;

    /**
     * 公告id
     */
    private Integer ownerId;

    /**
     * 评论者id
     */
    private Integer fromId;

    /**
     * 评论者昵称
     */
    private String fromName;

    /**
     * 评论者头像
     */
    private String fromAvatar;

    /**
     * 评论内容
     */
    private String content;

    /**
     * 回复 子评论
     */
    private List<AnnCommentReply> reply;

}
